from enum import unique
from app import db
import datetime
#创建用户表
class User(db.Model):
    # __tablename__='user_info'
    # id = db.Column(db.Integer,primary_key=True,autoincrement=True)
    # username = db.Column(db.String(40),unique=True)
    # password = db.Column(db.String(200),default='')
    # mobile = db.Column(db.String(11),default='')
    # avater = db.Column(db.String(200),default='')


    __tablename__='conser'
    id = db.Column(db.Integer,primary_key=True,autoincrement=True)
    name = db.Column(db.String(10),unique=True)
    pic = db.Column(db.String(200),default=True)






